Repository navigation
feat(release): build signed desktop editor installers and CLI binaries on release - #1260
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a standalone desktop entrypoint (
cmd/editor) for NSGo Game Editor and upgrades.github/workflows/release.ymlso every release automatically builds, signs, verifies, and publishes full desktop editor installers and prebuiltnsgo-gameCLI archives using the organization's signing certificates.cmd/editor: Thin desktop entrypoint (cmd/editor/main.go,cmd/editor/nsgo.yaml,cmd/editor/main_test.go) launching directly into the Editor Start Screen (stripping macOS Finder's-psn_*flag) withupdates.keymatchingNSGO_UPDATES_KEYandrelease.github: nsgo-dev/game..github/workflows/release.yml:depot-macos-15):macos_arm64&macos_x64.dmg, signed withvars.MACOS_SIGNING_IDENTITY+secrets.MACOS_CERTIFICATE/MACOS_CERTIFICATE_PASSWORD, notarized & stapled viasecrets.APPSTORE_API_KEY_P8/APPSTORE_API_KEY_ID/APPSTORE_API_ISSUER_ID, and verified withcodesign,xcrun stapler validate, andspctl --assess.depot-ubuntu-24.04-4):linux_x64&linux_arm64.deb,.pkg.tar.gz,.AppImage(+.AppImage.zsync), plusinstall.shandinstall.ps1.depot-ubuntu-24.04-4):windows_x64&windows_arm64-setup.exeinstallers.appcast-<target>.xml+.sha256viasecrets.NSGO_UPDATES_KEY.nsgo-gameCLI archives:macos-arm64,macos-x64,linux-x64,linux-arm64,windows-x64,windows-arm64with.sha256checksums.workflow_dispatchwithtaginput): Allows building and uploading signed editor & CLI assets onto an existing release (such asv0.1.0) viagh release upload --clobberwithout touching the immutable Go module tag.Verification
go tool nsgo test ./cmd/editorgo tool nsgo test . -- -run 'TestStabilityTable|TestAgentSkillValid'go tool nsgo check -target macos,windows,linux,android,webgo tool nsgo build -target macos,windows,linux -version 0.1.0 ./cmd/editor(verified all 6 desktop targets & installers)actionlint .github/workflows/release.yml,go run ./tools/changelog check,bun run verify-notes,apps/website:bun run test(24/24).github/workflows/release.yml(dry-run building, signing, notarizing, and verifying all desktop packages)